package com.asiainfo.dao;

import org.apache.ibatis.session.SqlSession;

public class Main {
	
	public static void main(String[] args) throws InterruptedException {
//		for (;;) {
			SqlSession sqlSession = MybatisHelper.getSqlSession("local");
			System.out.println((Object) sqlSession.selectOne("a.1"));
			System.out.println((Object) sqlSession.selectOne("a.1"));
			sqlSession.close();
//			MapperScan mapperScan = MybatisHelper.getMapperScan("local");
//			Thread.sleep(1000);
//			mapperScan.dynamicLoadMappers();
//		}
	}
	
}
